package com.useful.mybatis.handler;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
import org.springframework.stereotype.Component;

/**
 * @author : wenchao.long
 * @date : Created in 2021/9/22 16:43 周三
 * @description :
 */
@Component
@MappedTypes({String[].class})
@MappedJdbcTypes(value = JdbcType.OTHER, includeNullJdbcType = true)
public class StringArrayJsonTypeHandler extends ArrayObjectJsonTypeHandler<String> {

    public StringArrayJsonTypeHandler() {
        super(String[].class);
    }
}
